<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="panel-heading">
        <ul class="nav nav-tabs" >
            <li class="active"><a href="#tab0" data-toggle="tab" >基本设置</a></li>
            <li class=""><a href="#tab1" data-toggle="tab">首頁</a></li>
            <li><a href="#tab2" data-toggle="tab">查询頁</a></li>
            <li><a href="#tab3" data-toggle="tab">用戶資訊</a></li>
            <li><a href="#tab4" data-toggle="tab">留言頁</a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div class="tab-content">
            <div class="tab-pane fade active in" id="tab0" style="">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('Ver')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-ver" data-rule="required" class="form-control" name="row[ver]" type="text" value="{$row.ver}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('判斷短信預設APP時間(秒)')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-txjg" data-rule="required" class="form-control" name="row[txjg]" type="number" value="{$row.txjg}">
                    </div>
                </div>


            </div>

            <div class="tab-pane fade" id="tab1" style="">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('Title_image')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="input-group">
                            <input id="c-title_image" class="form-control" size="50" name="row[title_image]" type="text" value="{$row.title_image}">
                            <div class="input-group-addon no-border no-padding">
                                <span><button type="button" id="plupload-title_image" class="btn btn-danger plupload" data-input-id="c-title_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-title_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="fachoose-title_image" class="btn btn-primary fachoose" data-input-id="c-title_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                            </div>
                            <span class="msg-box n-right" for="c-title_image"></span>
                        </div>
                        <ul class="row list-inline plupload-preview" id="p-title_image"></ul>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <label >圖片尺寸200*900</label>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A1_banner_image')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="input-group">
                            <input id="c-a1_banner_image" class="form-control" size="50" name="row[a1_banner_image]" type="text" value="{$row.a1_banner_image}">
                            <div class="input-group-addon no-border no-padding">
                                <span><button type="button" id="plupload-a1_banner_image" class="btn btn-danger plupload" data-input-id="c-a1_banner_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-a1_banner_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="fachoose-a1_banner_image" class="btn btn-primary fachoose" data-input-id="c-a1_banner_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                            </div>
                            <span class="msg-box n-right" for="c-a1_banner_image"></span>
                        </div>
                        <ul class="row list-inline plupload-preview" id="p-a1_banner_image"></ul>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <label >圖片尺寸600*900</label>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A1_notice')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-a1_notice" class="form-control" name="row[a1_notice]" type="text" value="{$row.a1_notice}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A1_btn1')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-a1_btn1" class="form-control" name="row[a1_btn1]" type="text" value="{$row.a1_btn1}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A1_btn2')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-a1_btn2" class="form-control" name="row[a1_btn2]" type="text" value="{$row.a1_btn2}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A1_btn3')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-a1_btn3" class="form-control" name="row[a1_btn3]" type="text" value="{$row.a1_btn3}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A1_footer_image')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="input-group">
                            <input id="c-a1_footer_image" class="form-control" size="50" name="row[a1_footer_image]" type="text" value="{$row.a1_footer_image}">
                            <div class="input-group-addon no-border no-padding">
                                <span><button type="button" id="plupload-a1_footer_image" class="btn btn-danger plupload" data-input-id="c-a1_footer_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-a1_footer_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="fachoose-a1_footer_image" class="btn btn-primary fachoose" data-input-id="c-a1_footer_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                            </div>
                            <span class="msg-box n-right" for="c-a1_footer_image"></span>
                        </div>
                        <ul class="row list-inline plupload-preview" id="p-a1_footer_image"></ul>
                    </div>
                </div>

                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <label >圖片尺寸100*900</label>
                </div>

            </div>

            <div class="tab-pane fade" id="tab2" style="">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A2_banner_image')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="input-group">
                            <input id="c-a2_banner_image" class="form-control" size="50" name="row[a2_banner_image]" type="text" value="{$row.a2_banner_image}">
                            <div class="input-group-addon no-border no-padding">
                                <span><button type="button" id="plupload-a2_banner_image" class="btn btn-danger plupload" data-input-id="c-a2_banner_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-a2_banner_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="fachoose-a2_banner_image" class="btn btn-primary fachoose" data-input-id="c-a2_banner_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                            </div>
                            <span class="msg-box n-right" for="c-a2_banner_image"></span>
                        </div>
                        <ul class="row list-inline plupload-preview" id="p-a2_banner_image"></ul>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <label >圖片尺寸600*900</label>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">提示文字:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input  class="form-control" name="row[a2_notice0]" type="text" value="{$row.a2_notice0}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('名称')}:</label>
                    <div class="col-xs-4 col-sm-8">
                        <input id="c-a2_name" class="form-control" name="row[a2_name]" type="text" value="{$row.a2_name}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('输入提示')}:</label>
                    <div class="col-xs-4 col-sm-8">
                        <input id="c-a2_notice" class="form-control" name="row[a2_notice]" type="text" value="{$row.a2_notice}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A2_btn1')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-a2_btn1" class="form-control" name="row[a2_btn1]" type="text" value="{$row.a2_btn1}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A2_warning')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-a2_warning" class="form-control" name="row[a2_warning]" type="text" value="{$row.a2_warning}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A2_footer_image')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="input-group">
                            <input id="c-a2_footer_image" class="form-control" size="50" name="row[a2_footer_image]" type="text" value="{$row.a2_footer_image}">
                            <div class="input-group-addon no-border no-padding">
                                <span><button type="button" id="plupload-a2_footer_image" class="btn btn-danger plupload" data-input-id="c-a2_footer_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-a2_footer_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="fachoose-a2_footer_image" class="btn btn-primary fachoose" data-input-id="c-a2_footer_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                            </div>
                            <span class="msg-box n-right" for="c-a2_footer_image"></span>
                        </div>
                        <ul class="row list-inline plupload-preview" id="p-a2_footer_image"></ul>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <label >圖片尺寸100*900</label>
                </div>
            </div>

            <div class="tab-pane fade" id="tab3" style="">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('提示文字')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input id="c-a3_notice0" class="form-control" name="row[a3_notice0]" type="text" value="{$row.a3_notice0}">
                    </div>
                </div>

                <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('A3_check1')}:</label> <div class="col-xs-2 col-sm-1"> <input id="c-a3_check1"  type="checkbox" name="row[a3_check1]" {if !empty($row.a3_check1)} checked="checked" {/if} value="是"  style="height: 35px;margin-top: -1px; margin-bottom: 1px; vertical-align: middle;"></div><label class="control-label col-xs-12 col-sm-1">{:__('A3_name1')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_name1" class="form-control" name="row[a3_name1]" type="text" value="{$row.a3_name1}"></div><label class="control-label col-xs-12 col-sm-2">{:__('A3_notice1')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_notice1" class="form-control" name="row[a3_notice1]" type="text" value="{$row.a3_notice1}"></div></div>
                <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('A3_check2')}:</label> <div class="col-xs-2 col-sm-1"> <input id="c-a3_check2"  type="checkbox" name="row[a3_check2]" {if !empty($row.a3_check2)} checked="checked" {/if} value="是"  style="height: 35px;margin-top: -1px; margin-bottom: 1px; vertical-align: middle;"></div><label class="control-label col-xs-12 col-sm-1">{:__('A3_name2')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_name2" class="form-control" name="row[a3_name2]" type="text" value="{$row.a3_name2}"></div><label class="control-label col-xs-12 col-sm-2">{:__('A3_notice2')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_notice2" class="form-control" name="row[a3_notice2]" type="text" value="{$row.a3_notice2}"></div></div>
                <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('A3_check3')}:</label> <div class="col-xs-2 col-sm-1"> <input id="c-a3_check3"  type="checkbox" name="row[a3_check3]" {if !empty($row.a3_check3)} checked="checked" {/if} value="是"  style="height: 35px;margin-top: -1px; margin-bottom: 1px; vertical-align: middle;"></div><label class="control-label col-xs-12 col-sm-1">{:__('A3_name3')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_name3" class="form-control" name="row[a3_name3]" type="text" value="{$row.a3_name3}"></div><label class="control-label col-xs-12 col-sm-2">{:__('A3_notice3')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_notice3" class="form-control" name="row[a3_notice3]" type="text" value="{$row.a3_notice3}"></div></div>
                <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('A3_check4')}:</label> <div class="col-xs-2 col-sm-1"> <input id="c-a3_check4"  type="checkbox" name="row[a3_check4]" {if !empty($row.a3_check4)} checked="checked" {/if} value="是"  style="height: 35px;margin-top: -1px; margin-bottom: 1px; vertical-align: middle;"></div><label class="control-label col-xs-12 col-sm-1">{:__('A3_name4')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_name4" class="form-control" name="row[a3_name4]" type="text" value="{$row.a3_name4}"></div><label class="control-label col-xs-12 col-sm-2">{:__('A3_notice4')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_notice4" class="form-control" name="row[a3_notice4]" type="text" value="{$row.a3_notice4}"></div></div>
                <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('A3_check5')}:</label> <div class="col-xs-2 col-sm-1"> <input id="c-a3_check5"  type="checkbox" name="row[a3_check5]" {if !empty($row.a3_check5)} checked="checked" {/if} value="是"  style="height: 35px;margin-top: -1px; margin-bottom: 1px; vertical-align: middle;"></div><label class="control-label col-xs-12 col-sm-1">{:__('A3_name5')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_name5" class="form-control" name="row[a3_name5]" type="text" value="{$row.a3_name5}"></div><label class="control-label col-xs-12 col-sm-2">{:__('A3_notice5')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_notice5" class="form-control" name="row[a3_notice5]" type="text" value="{$row.a3_notice5}"></div></div>
                <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('A3_check6')}:</label> <div class="col-xs-2 col-sm-1"> <input id="c-a3_check6"  type="checkbox" name="row[a3_check6]" {if !empty($row.a3_check6)} checked="checked" {/if} value="是"  style="height: 35px;margin-top: -1px; margin-bottom: 1px; vertical-align: middle;"></div><label class="control-label col-xs-12 col-sm-1">{:__('A3_name6')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_name6" class="form-control" name="row[a3_name6]" type="text" value="{$row.a3_name6}"></div><label class="control-label col-xs-12 col-sm-2">{:__('A3_notice6')}:</label><div class="col-xs-4 col-sm-3"><input id="c-a3_notice6" class="form-control" name="row[a3_notice6]" type="text" value="{$row.a3_notice6}"></div></div>

                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A3_check7')}:</label>
                    <div class="col-xs-2 col-sm-1">
                        <input id="c-a3_check7" type="checkbox" name="row[a3_check7]" {if !empty($row.a3_check7)} checked="checked" {/if} value="是" style="height: 35px;margin-top: -1px; margin-bottom: 1px; vertical-align: middle;" />
                    </div>
                    <label class="control-label col-xs-12 col-sm-1">{:__('A3_name7')}:</label>
                    <div class="col-xs-4 col-sm-3">
                        <input id="c-a3_name7" class="form-control" name="row[a3_name7]" type="text" value="{$row.a3_name7}" />
                    </div>
                    <label class="control-label col-xs-12 col-sm-2">{:__('A3_title7')}:</label>
                    <div class="col-xs-12 col-sm-3">
                        <input id="c-a3_title7" class="form-control" name="row[a3_title7]" type="text" value="{$row.a3_title7}">
                    </div>
                </div>

                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-3"></label>
                    <label class="control-label col-xs-12 col-sm-3">备注：此栏位可以上传图片</label>
                </div>

                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A3_check8')}:</label>
                    <div class="col-xs-2 col-sm-1">
                        <input id="c-a3_check8" type="checkbox" name="row[a3_check8]" {if !empty($row.a3_check8)} checked="checked" {/if} value="是" style="height: 35px;margin-top: -1px; margin-bottom: 1px; vertical-align: middle;" />
                    </div>
                    <label class="control-label col-xs-12 col-sm-1">{:__('A3_name8')}:</label>
                    <div class="col-xs-4 col-sm-3">
                        <input id="c-a3_name8" class="form-control" name="row[a3_name8]" type="text" value="{$row.a3_name8}" />
                    </div>

                    <label class="control-label col-xs-12 col-sm-2">{:__('A3_title8')}:</label>
                    <div class="col-xs-12 col-sm-3">
                        <input id="c-a3_title8" class="form-control" name="row[a3_title8]" type="text" value="{$row.a3_title8}">
                    </div>
                </div>

                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-3"></label>
                    <label class="control-label col-xs-12 col-sm-3">备注：此栏位可以上传图片</label>
                </div>

                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('A3_btn1')}:</label>
                    <div class="col-xs-12 col-sm-4">
                        <input id="c-a3_btn1" class="form-control" name="row[a3_btn1]" type="text" value="{$row.a3_btn1}">
                    </div>
                    <label class="control-label col-xs-12 col-sm-2">{:__('A3_btn2')}:</label>
                    <div class="col-xs-12 col-sm-4">
                        <input id="c-a3_btn2" class="form-control" name="row[a3_btn2]" type="text" value="{$row.a3_btn2}">
                    </div>
                </div>
            </div>

            <div class="tab-pane fade" id="tab4" style="">

                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <div class="col-xs-12 col-sm-4">
                        <select  id="c-a4_check" data-rule="" class="form-control selectpicker select-spec" name="row[a4_check]">
                            {foreach name="a4CheckList" item="vo"}
                            <option value="{$key}" {in name="key" value="$row.a4_check"}selected{/in}>{$vo}</option>
                            {/foreach}
                        </select>
                    </div>
                </div>

                <div id="a4_close">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">链接:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-a4_url" class="form-control" name="row[a4_url]" type="text" value="{$row.a4_url}">
                        </div>
                    </div>
                </div>
                <div id="a4_open">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('提示文字')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-a4_notice0" class="form-control" name="row[a4_notice0]" type="text" value="{$row.a4_notice0}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('A4_name')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-a4_name" class="form-control" name="row[a4_name]" type="text" value="{$row.a4_name}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('A4_notice')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-a4_notice" class="form-control" name="row[a4_notice]" type="text" value="{$row.a4_notice}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('A4_btn1')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-a4_btn1" class="form-control" name="row[a4_btn1]" type="text" value="{$row.a4_btn1}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('A4_btn2')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-a4_btn2" class="form-control" name="row[a4_btn2]" type="text" value="{$row.a4_btn2}">
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>


